package Demo05.ToString;

public class Demo01 {
    public static void main(String[] args) {
        Item i = new Item();
        i.effect();

        LifePotion lp = new LifePotion();
        lp.effect();

        MagicPotion mp = new MagicPotion();
        mp.effect1();
    }
}
